using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Weight.Base;

namespace JHVideo
{
    interface IImageHandler
    {
        /// <summary>
        /// 压缩图片
        /// </summary>
        /// <param name="savePath">保存路径</param>
        /// <param name="ratio">压缩比例</param>
        /// <returns></returns>
        ResultEntity CompressImg(string savePath,int ratio);

        /// <summary>
        /// 绘制字符串到图片
        /// </summary>
        /// <param name="para"></param>
        /// <returns></returns>
        ResultEntity DrawString(DrawStringParam para);
        
    }
}


